<!DOCTYPE html>
<!--代码由www.magicalcoder.com可视化布局器拖拽生成-->
<html>
<head>
    <meta charset="UTF-8" />
    <title>{$title|default=''}{if !empty($title)} · {/if}{:sysconf('site_name')}</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
    <link rel="stylesheet" type="text/css" href="https://www.layuicdn.com/layui-v2.5.4/css/layui.css" />
    <link rel="stylesheet" type="text/css" href="/static/theme/css/global.css" />
    <script src="https://www.layuicdn.com/layui-v2.5.4/layui.all.js"></script>
    <style>
        body{
            background-color: #f2f2f2;
        }
        .login{
            padding-top: 15px;
        }
        .layui-container{
            padding: 0!important;
        }
    </style>
</head>
<body>
<div class="fly-header layui-bg-black">
    <div class="layui-container">
        <a class="fly-logo" href="/">
            <img src="/static/theme/img/logo.png" alt="layui">
        </a>
        {php}
        $link= request()->controller().'/'.request()->module();
        $link1= request()->controller();
        {/php}
        {if $link1 eq "Mlist" }
        <ul class="layui-nav fly-nav">
            <li class="layui-nav-item layui-this">
                <a href="/">&nbsp;</a>
            </li>

        </ul>
        {else/}
        <ul class="layui-nav fly-nav">
            <li class="layui-nav-item layui-this">
                <a href="/">项目监控系统</a>
            </li>

        </ul>
        {/if}
        <ul class="layui-nav fly-nav-user">

            <li class="layui-nav-item">
              <a href="javascript:;">
              {:session('admin_user.username')}
              </a>
              <dl class="layui-nav-child">
                <!--<dd><a href="user/set.html">修改密码</a></dd>
                <dd><a href="user/message.html">我的上报</a></dd>-->


                <dd><a data-confirm="确定要退出登录吗？" data-load="{:url('monitor/index/out')}">退出登录</a></dd>
              </dl>
            </li>

        </ul>
    </div>
</div>



<!--<div class="fly-header layui-bg-black">
    <div class="layui-container">
        <div class="layui-row ">
            <div class="layui-row">
                <div class="layui-col-md6">
                    <ul class="layui-nav layui-bg-black" lay-filter="test">
                        <li class="layui-nav-item"><a href="/">{$title|default=''}{if !empty($title)} · {/if}{:sysconf('site_name')}</a></li>

                    </ul>
                </div>
                <div class="layui-col-md6">
                    <ul class="layui-nav fly-nav-user">



                        <li class="layui-nav-item">
                            <a class="fly-nav-avatar" href="javascript:;">
                                <cite class="layui-hide-xs">贤心</cite>
                            </a>
                            <dl class="layui-nav-child">
                                <dd><a href="user/set.html"><i class="layui-icon">&#xe620;</i>基本设置</a></dd>
                                <dd><a href="user/message.html"><i class="iconfont icon-tongzhi" style="top: 4px;"></i>我的消息</a></dd>
                                <dd><a href="user/home.html"><i class="layui-icon" style="margin-left: 2px; font-size: 22px;">&#xe68e;</i>我的主页</a></dd>
                                <hr style="margin: 5px 0;">
                                <dd><a href="/user/logout/" style="text-align: center;">退出</a></dd>
                            </dl>
                        </li>


                    </ul>
                </div>
            </div>
        </div>
    </div>
</div>-->
<!--<div class="fly-header layui-bg-black">

    <div class="layui-container">
        <a class="fly-logo" href="/">
            <img src="../res/images/logo.png" alt="layui">
        </a>
        <ul class="layui-nav fly-nav layui-hide-xs">
            <li class="layui-nav-item layui-this">
                <a href="/"><i class="iconfont icon-jiaoliu"></i>交流</a>
            </li>
            <li class="layui-nav-item">
                <a href="case/case.html"><i class="iconfont icon-iconmingxinganli"></i>案例</a>
            </li>
            <li class="layui-nav-item">
                <a href="http://www.layui.com/" target="_blank"><i class="iconfont icon-ui"></i>框架</a>
            </li>
        </ul>


    </div>
</div>-->

<script src="__ROOT__/static/plugs/layui/layui.all.js"></script>
<script src="__ROOT__/static/plugs/require/require.js"></script>
<script src="__ROOT__/static/admin.js"></script>